package com.wing.tools.video;

/**
 * Created by wejust on 2017/12/6.吗
 */

public class ZLMediaKit {
    public static native int initRtspServer(short port);
    public static native long createMedia(String appName, String mediaName);
    public static native void releaseMedia(long ctx);
    public static native void mediaInitVideo(long ctx, int width, int height, int frameRate);
    public static native void mediaInitAudio(long ctx, int channel, int sampleBit, int sampleRate);
    public static native void mediaInputH264(long ctx, byte[] data, int len, long stamp, boolean allinone);
    public static native void mediaInputAAC(long ctx, byte[] data, int len,long stamp);
}
